﻿using MediatR;
using S.Common.ApiResult;
using S.Common.Enums.Archives;
using S.EarTag.Domain.Dto;
using S.EarTag.Domain.Model;

namespace S.EarTag.Read.API.Application.MediatorCommand.BodyMeasureCommand
{
    public class BodyMeasureListPageCommand:IRequest<ApiResult<List<BodyMeasurementDto>>>
    {
        /// <summary>
        /// 耳号
        /// </summary>
        public string? EarTag { get; set; }
        /// <summary>
        /// 品种
        /// </summary>
        public int VarietyEnum { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public int Sex { get; set; }
        /// <summary>
        /// 当前索引页
        /// </summary>
        public int pageIndex { get; set; }
        /// <summary>
        /// 每页显示条数
        /// </summary>
        public int pageSize { get; set; }
    }
}
